package com.zhaoyu.wemedia.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhaoyu.model.admin.dtos.NewsAuthDto;
import com.zhaoyu.model.media.pojos.WmNews;
import com.zhaoyu.model.media.vo.WmNewsCheckVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * WmNews(自媒体图文内容)
 */
public interface WmNewsMapper extends BaseMapper<WmNews> {

    List<WmNewsCheckVO> findListAndPage(@Param("newsAuthDto") NewsAuthDto newsAuthDto);

    int findListCount(@Param("newsAuthDto") NewsAuthDto newsAuthDto);

}